What's the difference between `syntax` and `filetype` in Vim?

Posted by TK on Super User See other posts from Super User or by TK
Published on 2010-04-11T12:15:29Z Indexed on 2010/04/11 12:23 UTC
Read the original article Hit count: 281

Filed under:
|

What's the difference between syntax and filetype in Vim?

I learned that I can set syntax and filetype, but I can't understand the difference fully.

Is syntax used only for syntax highlighting?

© Super User or respective owner

Related posts about vim

Related posts about deeper-understanding